<template>
    <el-form v-if="setting" :model="setting" label-position="top">
      <el-form-item label="数据集">
        <el-select
            v-model="setting.config.datasetId"
          >
            <el-option
              v-for="item in configData.datasetIdList"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option
          ></el-select>
      </el-form-item>
    <!-- <el-form-item label="起始列">
      <div class="el-input el-input--default">
        <div class="el-input__wrapper">
          <input v-model.lazy="setting.x" class="el-input__inner" />
        </div>
      </div>
    </el-form-item>
    <el-form-item label="起始行">
      <div class="el-input el-input--default">
        <div class="el-input__wrapper">
          <input v-model.lazy="setting.y" class="el-input__inner" />
        </div>
      </div>
    </el-form-item>
    <el-form-item label="宽度">
      <div class="el-input el-input--default">
        <div class="el-input__wrapper">
          <input v-model.lazy="setting.w" class="el-input__inner" />
        </div>
      </div>
    </el-form-item>
    <el-form-item label="高度">
      <div class="el-input el-input--default">
        <div class="el-input__wrapper">
          <input v-model.lazy="setting.h" class="el-input__inner" />
        </div>
      </div>
    </el-form-item>
    <el-form-item label="滚动速度">
      <div class="el-input el-input--default">
        <div class="el-input__wrapper">
          <input
            v-model.lazy="setting.speed"
            type="number"
            class="el-input__inner"
          />
        </div>
      </div>
    </el-form-item>
    <el-form-item label="是否自动滚动">
      <el-switch v-model="setting.autoScroll" />
    </el-form-item> -->
  </el-form>
</template>
<script setup>
import {ref,defineModel,onMounted} from 'vue'
import API from "@/api/model/meta";
const props = defineProps({
  configData: { type: Object, default: {} },
  fileName: { type: String, default: "" },
});
const setting = defineModel()
const datasetList = ref([])
</script>